﻿IF EXISTS (SELECT * FROM sysobjects WHERE type = 'P' AND name = 'GetDetalleNotaIngresoByNotaIngresoID')
	BEGIN
		DROP  Procedure  GetDetalleNotaIngresoByNotaIngresoID
	END

GO

CREATE Procedure GetDetalleNotaIngresoByNotaIngresoID

	(
		@idNotaIngreso int
	)


AS
begin
SELECT     IdNotaIngreso,
           Cantidad,
           IdBien,
           Precio
FROM       dbo.DetalleNotaIngreso
where      IdNotaIngreso=@idNotaIngreso
end

GO


GRANT EXEC ON GetDetalleNotaIngresoByNotaIngresoID TO PUBLIC

GO


